package com.meisiabc.app.repository.db.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 外教小时费率--每修改一次都会重新生成一条记录原来的记录设置为is_delete=1
 * </p>
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class HourRate {


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String teacherId;

    /**
     * 小时费率
     */
    private Double hourRate;

    private Date createTime;

    private Date updateTime;

    private Integer isDelete;


}
